package com.jshare.entity;
// default package

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Tiezi entity. @author MyEclipse Persistence Tools
 */

public class Tiezi  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Member member;
     private String toppic;
     private Timestamp postdate;
     private String tags;
     private Set tzReplies = new HashSet(0);


    // Constructors

    /** default constructor */
    public Tiezi() {
    }

	/** minimal constructor */
    public Tiezi(Member member, String toppic, Timestamp postdate, String tags) {
        this.member = member;
        this.toppic = toppic;
        this.postdate = postdate;
        this.tags = tags;
    }
    
    /** full constructor */
    public Tiezi(Member member, String toppic, Timestamp postdate, String tags, Set tzReplies) {
        this.member = member;
        this.toppic = toppic;
        this.postdate = postdate;
        this.tags = tags;
        this.tzReplies = tzReplies;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Member getMember() {
        return this.member;
    }
    
    public void setMember(Member member) {
        this.member = member;
    }

    public String getToppic() {
        return this.toppic;
    }
    
    public void setToppic(String toppic) {
        this.toppic = toppic;
    }

    public Timestamp getPostdate() {
        return this.postdate;
    }
    
    public void setPostdate(Timestamp postdate) {
        this.postdate = postdate;
    }

    public String getTags() {
        return this.tags;
    }
    
    public void setTags(String tags) {
        this.tags = tags;
    }

    public Set getTzReplies() {
        return this.tzReplies;
    }
    
    public void setTzReplies(Set tzReplies) {
        this.tzReplies = tzReplies;
    }
   








}